package cn.edu.gsau.info.models;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author jinjiang
 * @since 2022-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tbl_jiaocaizhuanzhu")
public class Jiaocaizhuanzhu implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    private Long tianbaoId;

    private String tianbaoName;

    private String bookName;

    private String chuBanSeh;

    private LocalDate chuBanDate;

    private String authors;

    private Integer zongRenShu;

    private Integer meSort;

    private String createBy;

    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private String updateBy;

    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String status;

    private String node;

    private String manager;

    @TableLogic(value = "0",delval = "1")
    private Integer deleted;

    private String memo;

    @TableField(exist = false)
    private List fileList;

    @TableField(exist = false)
    private String[] newFileName;

    @TableField(exist = false)
    private String[] oldFileName;
    @TableField(exist = false)
    private long cailiaoId;

}
